@charset "utf8";
/*
This is one of LoNote's default CSS file. You can modified it by your self.

CSS Name:   Moonlight
Version:    2.0
Creator:    Civa Lin<larina.wf@gmail.com>

Description:
    Recommended for use in dark desktop environment.

How to Use:
    Go to book configure page, add the follow line in "extra head" section...
    
        <link rel="stylesheet" href="/static/css/extra/moonlight.css" />

Modify:
    All selector should start with "#main_content" or may interrupt other LoNote layout.

*/


/* theme changed */

body {
    background-color: black;
}

header, header a {
    color: white;
}

header img.icon {
    background-color: white;
    border-radius: 24px;
    box-shadow: 0px 0px 8px 1px white;
}

footer {
    color: white;
    /* text-shadow: 0px 0px 1px white; */
}

/* sidebar theme */

#sidebar a{
    border-bottom: 1px solid #555;
    border-left: 1px solid #555;
    color: #777;
    background-color: #222;
}

#sidebar li:hover > a{
    color: white;
    background-color: #777;
}

#sidebar a:hover{
    text-shadow: #AAA 2px 2px 3px;
    box-shadow: 0 1px 5px #AB0000, inset 0 5px 15px #A00;
}

#sidebar img.icon {
    /*background-color: #CCC;*/
    border-radius: 50px;
    box-shadow: 0 0 7px 2px white, inset 0 0 10px 3px white;
}

#sidebar a:hover.path, #sidebar a:not(:hover).path {
    color: #EEE;
    background-color: #133;
}

#sidebar a:hover.target, #sidebar a:not(:hover).target {
    color: #EEE;
    background-color: #311;
}






/* Main Content */

#main_content {
    background-color: #333;
    color: #EEE;
}

/* Heading Block */
#main_content h1, #main_content h2, #main_content h3, #main_content h4, #main_content h5, #main_content h6 { 
    text-shadow: 0em 0em 0.3em red;
}

/* Code Block */
#main_content pre {
    overflow: auto; 
    border-left-style: solid;
    border-left-width: 5px;
    border-left-color: firebrick;
    padding-top: 5px;
    padding-left: 10px;
    padding-bottom: 5px;
    margin-top: 10px;
    margin-left: 5px;
    margin-bottom: 10px;
}

#main_content pre:hover { background-color: #4A4A4A; }



/* Paragraph */
/* #main_content p:before { content: "　　"; } */

/* Link Setting... */
#main_content a:link {
    color: olive;
    /* color: teal; */
    -moz-transition-duration: 500ms;
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
}

#main_content a:visited {
    color: forestgreen;
    -moz-transition-duration: 500ms;
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
}

#main_content a:hover {
    color: darkred;
    -moz-transition-duration: 200ms;
    -webkit-transition-duration: 200ms;
    transition-duration: 200ms;
}



/* Blockquote */
blockquote {
    border-radius: 2px;
    background-color: #444;
    padding: 20px;
}

/* Indent in webkit: Remove inherit from blockquote */
/* (Only Backward Compatibility) */
blockquote.webkit-indent-blockquote { background-color:transparent; }



/* img & figure */
#main_content img {
    border: 2px solid transparent;
    border-radius: 4px;
    max-width: 100%;

    -webkit-transition-duration: 500ms;
    -moz-transition-duration: 500ms;
    transition-duration: 500ms;
}

#main_content img:hover {
    /* opacity: 0.8; */
    border: 2px solid gold;

    -webkit-transition-duration: 200ms;
    -moz-transition-duration: 200ms;
    transition-duration: 200ms;
}

#main_content figcaption {
    font-style: italic;
}
